GtkFlowBox::child-activated: fix param type in g_signal_connect
authorJuan R. García Blanco <juanrgar@gmail.com>
Wed, 5 Feb 2014 21:10:05 +0000 (22:10 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 8 Feb 2014 02:39:49 +0000 (21:39 -0500)
Replace GTK_TYPE_WIDGET with more specific GTK_TYPE_FLOW_BOX_CHILD
for GtkFlowBox::child-activated. This matches signature of
child_activated slot in class struct.

https://bugzilla.gnome.org/show_bug.cgi?id=723716

gtk/gtkflowbox.c

index 6c99fb36fbd07b6e0b9bbee1ef9f7f9f5e6698fd..cfaa1c998e7a0e8d64dbb4757c3fc82aab4eceba 100644 (file)
@@ -3766,7 +3766,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
                                            NULL, NULL,
                                            g_cclosure_marshal_VOID__OBJECT,
                                            G_TYPE_NONE, 1,
-                                           GTK_TYPE_WIDGET);
+                                           GTK_TYPE_FLOW_BOX_CHILD);
 
   /**
    * GtkFlowBox::selected-children-changed: